package cn.hust.springboot.mapper;

import cn.hust.springboot.bean.Appraise;
import cn.hust.springboot.bean.AppraiseExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AppraiseMapper {
    long countByExample(AppraiseExample example);

    int deleteByExample(AppraiseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Appraise row);

    int insertSelective(Appraise row);

    List<Appraise> selectByExample(AppraiseExample example);

    Appraise selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") Appraise row, @Param("example") AppraiseExample example);

    int updateByExample(@Param("row") Appraise row, @Param("example") AppraiseExample example);

    int updateByPrimaryKeySelective(Appraise row);

    int updateByPrimaryKey(Appraise row);

    List<Appraise> query(String name);
    List<Appraise> getAll();
}